package cn.player.media.entity;

import java.io.Serializable;

public class AdInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String adMode;
	private String adProject;
	
	private String random;

	private String catalog;
	private String videosetId;
	private String videoId;
	private String duration;

	private String channel;
	
	private int flag;//Const.LIVE 直播; Const.VOD 点播
	private int category;//Const.ADD_CALL,;Const.ADD_PAUSE;Const.AFTER;
	
	private String url;
	private String click;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAdMode() {
		return adMode;
	}
	/**
	 * 用于特殊广告模式的控制
	 * @param adMode
	 */
	public void setAdMode(String adMode) {
		this.adMode = adMode;
	}

	public String getAdProject() {
		return adProject;
	}
	
	/**
	 * 设置是哪个项目的广告
	 * @param adProject
	 */
	public void setAdProject(String adProject) {
		this.adProject = adProject;
	}

	public String getRandom() {
		return random;
	}

	public void setRandom(String random) {
		this.random = random;
	}

	public String getCatalog() {
		return catalog;
	}

	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	public String getVideosetId() {
		return videosetId;
	}

	public void setVideosetId(String videosetId) {
		this.videosetId = videosetId;
	}

	public String getVideoId() {
		return videoId;
	}

	public void setVideoId(String videoId) {
		this.videoId = videoId;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getCategory() {
		return category;
	}

	public void setCategory(int category) {
		this.category = category;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getClick() {
		return click;
	}

	public void setClick(String click) {
		this.click = click;
	}

}
